import { createRouter, createWebHistory } from 'vue-router'


const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',    
      component:()=> import('../views/LoginView.vue'),
    },
    {
      path: '/memberadd',    
      component:()=> import('../views/member/MemberLevelAdd.vue'),
    },
    {
      path: '/memberlist',    
      component:()=> import('../views/member/MemberLevelList.vue'),
    },
    {
      path: '/list',    
      component:()=> import('../views/member/MemberList.vue'),
    },
    {
      path: '/vipadd',    
      component:()=> import('../views/member/MemberAdd.vue'),
    },
    {
      path: '/memberUpdate',    
      component:()=> import('../views/member/MemberUpdate.vue'),
    },
    {
      path: '/shoplist',    
      component:()=> import('../views/Shop/ShopList.vue'),
    },
    {
      path: '/shopAdd',    
      component:()=> import('../views/Shop/ShopAdd.vue'),
    },
    {
      path: '/shopUpd',    
      component:()=> import('../views/Shop/ShopUpd.vue'),
    },
    {
      path: '/shopdetail',    
      component:()=> import('../views/Shop/ShopDetail.vue'),
    },
    {
      path: '/shopCountlist',    
      component:()=> import('../views/Shop/ShopCountlist.vue'),
    },
    {
      path:'/discountAdd',
      component:()=>import('../views/Discount/DiscountAdd.vue'),
    },
    {
      path:'/discountlist',
      component:()=>import('../views/Discount/DiscountShow.vue'),
    },
    {
      path:'/discountCountlist',
      component:()=>import('../views/Discount/DiscountCountlist.vue'),
    },
    {
      path:'/discountUpd',
      component:()=>import('../views/Discount/DiscountUpd.vue'),
    },
    {
      path:'/houseAdd',
      component:()=>import('../views/House/HouseAdd.vue'),
    },
    {
      path:'/houseShow',
      component:()=>import('../views/House/HouseShow.vue'),
    },
    {
      path:'/housedeatil',
      component:()=>import('../views/House/HouseDetail.vue'),
    },
    {
      path:'/houseupd',
      component:()=>import('../views/House/HouseUpd.vue'),
    },
    {
      path:'/housenolist',
      component:()=>import('../views/House/HouseNoList.vue'),
    },
    {
      path:'/housenoAdd',
      component:()=>import('../views/House/HouseNoAdd.vue'),
    },
    {
      path:'/housePriceList',
      component:()=>import('../views/House/HousePriceList.vue'),
    },
    {
      path:'/houseRowList',
      component:()=>import('../views/House/HouseRowList.vue'),
    },
    {
      path:'/houseRowAdd',
      component:()=>import('../views/House/HouseRowAdd.vue'),
    },
    {
      path:'/housePriceAdd',
      component:()=>import('../views/House/HousePriceAdd.vue'),
    },
    {
      path:'/housePriceUpd',
      component:()=>import('../views/House/HousePriceUpd.vue'),
    },
    {
      path:'/rightList',
      component:()=>import('../views/member/RightList.vue'),
    },
    {
      path:'/rightAdd',
      component:()=>import('../views/member/RightAdd.vue'),
    },
    {
      path:'/memberlevleupd',
      component:()=>import('../views/member/MemberLevleUpd.vue'),
    }
  ],
})

export default router
